home *** CD-ROM | disk | FTP | other *** search
/ No Fragments Archive 12: Textmags & Docs / nf_archive_12.iso / MAGS / SOURCES / ATARI_SRC.ZIP / atari source / FALCON / CPX / MODEM.TC / CPXSTART.S < prev    next >
Encoding:
Text File  |  2001-02-10  |  967 b   |  59 lines

  1. ; cpxstart.asm
  2. ;=============================================================================
  3. ; Startup file for CPXs
  4. ; Date: February 27, 1990
  5. ;
  6. ; format for mad mac:   mac cpxstart.asm
  7. ;
  8. ; The storage space for your variables is currently set to 10 words
  9. ; If you need more, well, change it.
  10. ; If your not using mad mac, then you can always type in
  11. ;   .dc.w 0 as many times as you need it...:-)
  12. ;
  13.  
  14.  
  15.     .globl        cpxstart
  16.     .globl        save_vars
  17.     .globl        cpx_init
  18.  
  19.     .text
  20.  
  21. cpxstart:
  22.          jmp cpx_init
  23.  
  24.     .data
  25.  
  26. save_vars:
  27.         .dc.w    0    ; Default Port to start with
  28.                 ; 0, 1, 2, 3
  29.                 
  30.                 ; Port 0
  31.         .dc.w    0    ; BAUD Rate
  32.         .dc.w    0    ; Parity
  33.         .dc.w    0    ; Bits/Char
  34.         .dc.w    0    ; Flow Control
  35.         .dc.w    1    ; Stop Bits
  36.  
  37.                 ; Port 1
  38.         .dc.w    0
  39.         .dc.w    0
  40.         .dc.w    0
  41.         .dc.w    0
  42.         .dc.w    1
  43.  
  44.                 ; Port 2
  45.         .dc.w    0
  46.         .dc.w    0
  47.         .dc.w    0
  48.         .dc.w    0
  49.         .dc.w    1
  50.  
  51.                 ; Port 3
  52.         .dc.w    0
  53.         .dc.w    0
  54.         .dc.w    0
  55.         .dc.w    0
  56.         .dc.w    1
  57.         
  58.     .end
  59.